package com.honeywell.iotserver.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("myprops")
public class MyProps {
	
	private String ailurl;
	private String rabbitmq_host;
	private String rabbitmq_username;
	private String rabbitmq_password;
	private int rabbitmq_port;
	private String exchange_on_off_alarm;
	private String routing_key_on_off_alarm;

	public String getAilurl() {
		return ailurl;
	}

	public void setAilurl(String ailurl) {
		this.ailurl = ailurl;
	}

	public String getRabbitmq_host() {
		return rabbitmq_host;
	}

	public void setRabbitmq_host(String rabbitmq_host) {
		this.rabbitmq_host = rabbitmq_host;
	}

	public String getRabbitmq_username() {
		return rabbitmq_username;
	}

	public void setRabbitmq_username(String rabbitmq_username) {
		this.rabbitmq_username = rabbitmq_username;
	}

	public String getRabbitmq_password() {
		return rabbitmq_password;
	}

	public void setRabbitmq_password(String rabbitmq_password) {
		this.rabbitmq_password = rabbitmq_password;
	}

	public int getRabbitmq_port() {
		return rabbitmq_port;
	}

	public void setRabbitmq_port(int rabbitmq_port) {
		this.rabbitmq_port = rabbitmq_port;
	}

	public String getExchange_on_off_alarm() {
		return exchange_on_off_alarm;
	}

	public void setExchange_on_off_alarm(String exchange_on_off_alarm) {
		this.exchange_on_off_alarm = exchange_on_off_alarm;
	}

	public String getRouting_key_on_off_alarm() {
		return routing_key_on_off_alarm;
	}

	public void setRouting_key_on_off_alarm(String routing_key_on_off_alarm) {
		this.routing_key_on_off_alarm = routing_key_on_off_alarm;
	}
	
}
